package vn.fpt.fsoft.cuongn.faces.serviceimpl;

import java.sql.SQLException;
import java.util.ArrayList;

import vn.fpt.fsoft.cuongn.faces.dao.ListAccountDAO;
import vn.fpt.fsoft.cuongn.faces.model.Account;
import vn.fpt.fsoft.cuongn.faces.service.ListAccountService;

public class ListAccountServiceImpl implements ListAccountService {

	@Override
	public ArrayList<Account> getAccounts() throws ClassNotFoundException, SQLException {
		ListAccountDAO listAccountDAO = new ListAccountDAO();
		
		return listAccountDAO.getAccounts();
	}

}
